package org.feifei.user.mapper;

import org.feifei.basic.mapper.BaseMapper;
import org.feifei.user.domain.User;
import org.feifei.user.domain.WxUser;

/**
 * User 的mapper接口
 */
public interface WxUserMapper extends BaseMapper<WxUser> {

    /**
     * 根据openId去查询 wxUser表中是否有对应的数据
     * @param openid
     * @return
     */
    WxUser findByOpenId(String openid);
}
